<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
					
					
					
					var str1 = new String("abc123")
					var str2 = "abc123";
					
					
					console.log(str1.length)
		
					
					var str3 = "adsfadsf man asfadfadw242342342 man  34  woman 234"
					
					console.log(str3.charAt(2));
					console.log(str3.indexOf("man")) 
					console.log(str3.indexOf("man",15)) 
					console.log(str3.lastIndexOf("man")) 
					
					
					var str4 = "abcdefghijk";
					
					console.log(str4.slice(3,7));
					
					console.log(str4.substr(3,4));//
					
					console.log(str4.substring(3,7));
					
					
					
					
					
				</script>
		
	</body>
</html>
